package com.example.hangzhou.welbeing.mytestdemoapp.bean;

import java.util.List;

/**
 * 杭州惟君医疗科技有限公司15
 * Created by 20433 on 2018/4/2
 *
 * @desc 东风山河绿，春已不折柳，繁花看不尽，处处惹人留
 * @desc 佛祖镇楼，bug辟容易
 */

public class Book {

    /**
     * count : 1
     * start : 0
     * total : 577
     * books : [{"rating":{"max":10,"numRaters":4731,"average":"8.6","min":0},"subtitle":"张竹坡批评第一奇书","author":["兰陵笑笑生"],"pubdate":"1991","tags":[{"count":2404,"name":"金瓶梅","title":"金瓶梅"},{"count":1312,"name":"古典文学","title":"古典文学"},{"count":986,"name":"兰陵笑笑生","title":"兰陵笑笑生"},{"count":855,"name":"小说","title":"小说"},{"count":770,"name":"中国古典文学","title":"中国古典文学"},{"count":521,"name":"中国文学","title":"中国文学"},{"count":431,"name":"古典","title":"古典"},{"count":413,"name":"中国","title":"中国"}],"origin_title":"（明）兰陵笑笑生","image":"https://img1.doubanio.com/mpic/s10069398.jpg","binding":"","translator":[],"catalog":"\n      ","pages":"","images":{"small":"https://img1.doubanio.com/spic/s10069398.jpg","large":"https://img1.doubanio.com/lpic/s10069398.jpg","medium":"https://img1.doubanio.com/mpic/s10069398.jpg"},"alt":"https://book.douban.com/subject/1456692/","id":"1456692","publisher":"齐鲁出版社","isbn10":"7533300815","isbn13":"9787533300814","title":"金瓶梅","url":"https://api.douban.com/v2/book/1456692","alt_title":"（明）兰陵笑笑生","author_intro":"","summary":"本书由王汝梅与李昭恂、于凤树校点。","series":{"id":"4279","title":"明代四大奇书"},"price":"268.00元"}]
     */

    public int count;
    public int start;
    public int total;
    public List<BooksBean> books;

    public static class BooksBean {
        /**
         * rating : {"max":10,"numRaters":4731,"average":"8.6","min":0}
         * subtitle : 张竹坡批评第一奇书
         * author : ["兰陵笑笑生"]
         * pubdate : 1991
         * tags : [{"count":2404,"name":"金瓶梅","title":"金瓶梅"},{"count":1312,"name":"古典文学","title":"古典文学"},{"count":986,"name":"兰陵笑笑生","title":"兰陵笑笑生"},{"count":855,"name":"小说","title":"小说"},{"count":770,"name":"中国古典文学","title":"中国古典文学"},{"count":521,"name":"中国文学","title":"中国文学"},{"count":431,"name":"古典","title":"古典"},{"count":413,"name":"中国","title":"中国"}]
         * origin_title : （明）兰陵笑笑生
         * image : https://img1.doubanio.com/mpic/s10069398.jpg
         * binding :
         * translator : []
         * catalog :

         * pages :
         * images : {"small":"https://img1.doubanio.com/spic/s10069398.jpg","large":"https://img1.doubanio.com/lpic/s10069398.jpg","medium":"https://img1.doubanio.com/mpic/s10069398.jpg"}
         * alt : https://book.douban.com/subject/1456692/
         * id : 1456692
         * publisher : 齐鲁出版社
         * isbn10 : 7533300815
         * isbn13 : 9787533300814
         * title : 金瓶梅
         * url : https://api.douban.com/v2/book/1456692
         * alt_title : （明）兰陵笑笑生
         * author_intro :
         * summary : 本书由王汝梅与李昭恂、于凤树校点。
         * series : {"id":"4279","title":"明代四大奇书"}
         * price : 268.00元
         */

        public RatingBean rating;
        public String subtitle;
        public String pubdate;
        public String origin_title;
        public String image;
        public String binding;
        public String catalog;
        public String pages;
        public ImagesBean images;
        public String alt;
        public String id;
        public String publisher;
        public String isbn10;
        public String isbn13;
        public String title;
        public String url;
        public String alt_title;
        public String author_intro;
        public String summary;
        public SeriesBean series;
        public String price;
        public List<String> author;
        public List<TagsBean> tags;
        public List<?> translator;

        public static class RatingBean {
            /**
             * max : 10
             * numRaters : 4731
             * average : 8.6
             * min : 0
             */

            public int max;
            public int numRaters;
            public String average;
            public int min;
        }

        public static class ImagesBean {
            /**
             * small : https://img1.doubanio.com/spic/s10069398.jpg
             * large : https://img1.doubanio.com/lpic/s10069398.jpg
             * medium : https://img1.doubanio.com/mpic/s10069398.jpg
             */

            public String small;
            public String large;
            public String medium;
        }

        public static class SeriesBean {
            /**
             * id : 4279
             * title : 明代四大奇书
             */

            public String id;
            public String title;
        }

        public static class TagsBean {
            /**
             * count : 2404
             * name : 金瓶梅
             * title : 金瓶梅
             */

            public int count;
            public String name;
            public String title;
        }
    }
}
